package com.yinhai.service;

import com.yinhai.domain.ResponseResult;
import com.yinhai.domain.User;

/**
 * @author : chengxd
 * @create 2024/2/14 0:05
 */
public interface LoginService {
    /**
     * 用户登录
     * @param user
     * @return
     */
    ResponseResult login(User user);

    /**
     * 退出登录
     * @return
     */
    ResponseResult logout();
}
